@charset "UTF-8";
/*body*/ 
body {
    background: #f5f5f5;
}
.layout {
    width: 100%;
    max-width: 640px;
    min-width: 300px;
    margin: 0 auto;
}
/*搜索头部*/
.jd_header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 40px;
}
.jd_header_box {
    width: 100%;
    max-width: 640px;
    min-width: 300px;
    margin: 0 auto;
    background: rgba(201,21,35,0);
    position: relative;
    height: 40px;
}
/*logo*/
.jd_header .icon_logo {
    width: 60px;
    height: 36px;
    position: absolute;
    top: 4px;
    left: 5px;
    background-position: 0 -103px;
}
/*login*/
.jd_header .login {
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: white;
}
/*form*/
.jd_header form {
    width: 100%;
    padding-left: 65px;
    padding-right: 50px;
    height:40px;
    position: relative;
}
.jd_header input {
    width: 100%;
    height: 30px;
    background: #fff;
    border-radius: 15px;
    margin-top: 4px;
    padding-left: 25px;
}
.jd_header form .icon_search {
    position: absolute;
    left: 70px;
    top: 10px;
    width: 20px;
    height: 20px;
    background-position: -60px -109px;
}

/*轮播图*/
.banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}
.banner ul:first-child {
    width: 1000%;
    -webkit-transform: translateX(-10%);
    -moz-transform: translateX(-10%);
    -ms-transform: translateX(-10%);
    -o-transform: translateX(-10%);
    transform: translateX(-10%);
}
.banner ul:first-child li {
    width: 10%;
    float: left;
}
.banner ul:first-child li a {
    width: 100%;
    display: block;
}
.banner ul:first-child li a img {
    display: block;
    width: 100%;
}

.banner ul:nth-child(2) {
    position: absolute;
    bottom: 6px;
    left: 50%;
    margin-left: -59px;
    width: 118px;
    height: 6px;
}
.banner ul:nth-child(2) li {
    width: 6px;
    height: 6px;
    border: 1px solid #fff;
    border-radius: 3px;
    float: left;
    margin-left: 10px;
}
.banner ul:nth-child(2) li.now {
    background-color: #fff;
}
.banner ul:nth-child(2) li:first-child {
    margin-left: 0;
}
/*导航栏*/
.nav {
    width: 100%;
    border-bottom: 1px solid #ccc;
    background: #fff;
}
.nav ul {
    width: 100%;
    padding: 15px 0;
}
.nav ul li {
    width: 25%;
    float: left;
}
.nav ul li a {
    width: 100%;
    display: block;
}
.nav ul li a img {
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto;
}
.nav ul li a p {
    font-size: 12px;
    text-align: center;
    padding: 8px;
    color: #666;
}

/*产品主体盒子*/
.product {
    padding: 0 5px;
    height: 400px;
}
.product_item {
    background-color: #fff;
    box-shadow: 0 0 1px #ccc;
    margin-top: 10px;
}
.product_item .product_title {
    height: 34px;
    line-height: 34px;
    border-bottom: 1px solid #e0e0e0;
}
.product_item .product_title.no_border {
    border-bottom: none;
}
.product_item .product_title h3 {
    font-weight: normal;
    font-size: 15px;
    color: #666;
    position: relative;
    margin-left: 10px;
    padding-left: 8px;
}
.product_item .product_title h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 3px;
    height: 12px;
    background: #d8505c;
}
/*掌上秒杀*/
.secKill_box .sk_name {
    color: #d8505c;
    position: relative;
    margin-left: 10px;
    padding-left: 25px;
    font-size: 15px;
    float: left;
}
.secKill_box .sk_name::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 16px;
    height: 20px;
    background: url(../images/seckill-icon.png) no-repeat;
    background-size: 16px 20px;
}
.secKill_box .sk_time {
    float: left;
    margin-left: 10px;
    margin-top: 10px;
}
.secKill_box .sk_time span {
    background: #333;
    width: 15px;
    height: 15px;
    line-height: 15px;
    text-align: center;
    display: block;
    float: left;
    margin-left: 3px;
    color: #fff;
}
.secKill_box .sk_time span:nth-child(3n) {
    background: #fff;
    color: #333;
    width: 3px;
}
.secKill_box .sk_product {
    width: 100%;
    padding: 10px 0;
}
.secKill_box .sk_product li {
    width: 33.3333%;
    float: left;
}
.secKill_box .sk_product li a {
    width: 100%;
    display: block;
    padding: 0 18%;
    border-right: 1px solid #e0e0e0;
}
.secKill_box .sk_product li:last-child a {
    border-right: none;
}
.secKill_box .sk_product li a img {
    width: 100%;
    display: block;
}
.secKill_box .sk_product li p {
    text-align: center;
    font-size: 12px;
    padding: 3px 0;
}
.secKill_box .sk_product li p.now_price {
    color: #d8505c;
}
.secKill_box .sk_product li p.old_price {
    color: #666;
    text-decoration: line-through;
}
/*商品盒子组合样式*/
a.w_50 {
    width: 50%;
}
a.w_50 img {
    width: 100%;
    display: block;
}
/*三种边框*/
.b_right {
    border-right: 1px solid #e0e0e0;
}
.b_left {
    border-left: 1px solid #e0e0e0;
}
.b_bottom {
    border-bottom: 1px solid #e0e0e0;
}